
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&family=Poppins:wght@400;600;700&display=swap');

:root
{
    --primary-color: #4169E1;
    --secondary-color: #f0f2f5;
    --success-color: #10B981;
    --text-color: #333;
    --border-color: #e1e4e8;
}

body
{
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    margin: 0;
    padding: 20px;
    background-color: #800020;
    color: var(--text-color);
}

.container
{
    position: relative;
    max-width: 800px;
    height: 500px;
    top: 400px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.section-title h1
{
    color: white;
}

.sidebar 
{
    background-color: var(--secondary-color);
    padding: 24px;
}

.main-content
{
    padding: 24px;
}

.step-content
{
    display: none;
}

.step-content h2
{
    color: black;
}

.step-content.active 
{
    display: block;
}

.progress-steps 
{
    list-style: none;
    padding: 0;
    margin: 0;
}

.progress-step 
{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.7;
    color: black;
}

.progress-step.active 
{
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    opacity: 1;
}

.progress-step.completed 
{
    opacity: 1;
}

.step-icon 
{
    width: 32px;
    height: 32px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.completed .step-icon 
{
    background-color: var(--success-color);
}

.step-icon svg 
{
    width: 20px;
    height: 20px;
    color: white;
}

.form-group 
{
    margin-bottom: 24px;
}

label 
{
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: black;
}

input 
{
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s;
}

input:focus 
{
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.1);
}

.card-grid 
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cart-item 
{
    display: flex;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 16px;
}

.cart-item img 
{
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 16px;
}

.cart-item-details 
{
    flex-grow: 1;
}

.cart-item-details h3,
.cart-item-details p
{
    color: black;
}

.cart-item-price 
{
    font-weight: bold;
    color: var(--primary-color);
}

.payment-methods 
{
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    background-color: var(--secondary-color);
    border-radius: 8px;
}

.payment-methods img 
{
    height: 50px;
    border-radius: 20%;
    object-fit: contain;
}

button 
{
    background-color: var(--primary-color);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover 
{
    background-color: #3558c4;
}

.loading-overlay 
{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.spinner 
{
    width: 50px;
    height: 50px;
    border: 5px solid var(--secondary-color);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.success-page 
{
    display: none;
    text-align: center;
    position: relative;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 40px;
    top: 400px;
    width: 600px;
    left: 450px;
}

.button
{
    display: inline-block;
    position: relative;
    padding: 12px 35px;
    top: 20px;
    background: var(--color-bordeaux);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.success-icon 
{
    width: 80px;
    height: 80px;
    background-color: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon svg 
{
    width: 40px;
    height: 40px;
    color: white;
}

@keyframes spin 
{
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
